package org.itsolutions.javaBackup.core.tasks;

import org.itsolutions.javaBackup.exceptions.AException;

/**
 * 
 * @param <T> return type of task
 * @author Tomas Fecko
 */
public interface ITask<T> {

	/**
	 * 
	 * @return return object of task
	 * @throws AException any exception during the task execution
	 */
	T execute() throws AException;
}




